<?php
/*
 * 对比类
 * @package    auto
 * @author     Mark
 * @copyright  Copyright (c) 2013 ixdcw team
 * @version    $Id: d58123fb0a87ccce2ce210c1fb538e725392f546 $
 */


class AutoCompare{


	public static function getCompareAPI($autoIds,$autoType) {
		foreach($autoIds as $key=> $amid) {
			$compare[$key]['id']=$amid;
			$compare[$key]['type']=$autoType;
			$compare[$key]['name']=AutoModel::getModelName($amid);
		}
		return $compare;
	}
}